package com.basic.sys.service;

import com.basic.common.result.WebResult;
import com.basic.sys.controller.req.SelectAuditingInfoParamForm;
import com.basic.sys.controller.req.UpdateAuditingStatusForm;
import com.basic.sys.controller.res.SelectAllAuditByParamForm;
import com.basic.sys.dao.model.AuditingInfo;
import com.basic.sys.domain.AuditingInfoBo;

import java.util.List;

public interface AuditingInfoService {
    /***
     * 添加审核信息
     * @param auditingInfo 审核信息实体类
     * @return
     */
    public WebResult addAuditingInfo(AuditingInfo auditingInfo);

    /***
     * 修改审核信息实体类
     * @param auditingInfo
     * @return
     */
    public WebResult updateAuditingInfo(AuditingInfo auditingInfo);

    /***
     * 修改审核状态
     * @param updateAuditingStatusForm 修改审核状态实体类
     * @return
     */
    public WebResult updateAuditingInfoState(UpdateAuditingStatusForm updateAuditingStatusForm);

    /***
     *条件查询不分页
     * @param auditingInfoBo 条件实体类
     * @return
     */
    public List<SelectAllAuditByParamForm> selectAll(SelectAuditingInfoParamForm auditingInfoBo);

    /***
     * 条件查询进行分页
     * @param auditingInfoBo 条件实体类
     * @return
     */
    public WebResult selectAllPage(AuditingInfoBo auditingInfoBo);

    /***
     *  通过id查询数据
     * @param id 主键
     * @return
     */
    public WebResult selectAuditInfoById(long id);
}
